FROM java:8
VOLUME /tmp
ADD /target/admin-boot-1.0-SNAPSHOT.jar /uum-admin.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-Xmx64m","-jar","uum-admin.jar"]
EXPOSE 8001
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \&& echo 'Asia/Shanghai' >/etc/timezone

